package com.travel.modules.sys.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SysConfigSafeDTO {
    private Password password;
    private Login login;

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Password {
        private Integer valid;
    }

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Login {
        private Integer fail;
        private Integer lock;
    }
}
